//
// Created by PC on 2023/12/13.
//


#include <iostream>
#include <map>

using namespace std;

int main()
{
    map<string ,string> stus;
    stus["Nasa"]="China";
    stus["lin"]="China";
    stus["ping"]="Canada";
    stus["ju"]="Canada";
    stus["hong"]="USA";
    cout<<stus["Nasa"]<<endl;
    cout<< stus.size()<<endl;
    cout<<stus.count("Nasa")<<endl;
    cout<<stus.count("zheng")<<endl;
    cout<<stus["Z"]<<endl;  // 找不到就对应空字符串

//    stus.insert("hope","Malta");
//    cout<<stus["hope"]<<endl;
    return 0;
}